#pragma once

#define INCH 2.54 //It means 1 inch has 2.54 cm

//We need a keep all triangles  in one list :)
typedef std::vector<Triangle>    trianList;
typedef trianList::iterator      trianIter;


class TriangleFactory
{
protected:
  static trianList      m_triangleList;
  static long double    m_area;
public:
  TriangleFactory(void);
  ~TriangleFactory(void);
  void AddTriangle(const Triangle &);
  void DrawAll(const HWND &, const POINT &);
  void Clear();
  const long double & CalculateField(int scale, int x_resolution, int y_resolution); //based on triangle list will add all triangle's fields (has to based on gmp), based on field value from each                                        triangle
};

//typedef 